func net/http.hasToken

7 uses

	net/http (current package)
		header.go#L246: func hasToken(v, token string) bool {
		request.go#L1416: 	return hasToken(r.Header.get("Expect"), "100-continue")
		request.go#L1423: 	return hasToken(r.Header.get("Connection"), "keep-alive")
		request.go#L1430: 	return hasToken(r.Header.get("Connection"), "close")
		request.go#L1486: 	return hasToken(r.Header.Get("Connection"), "upgrade") &&
		server.go#L1508: 		(!keepAlivesEnabled || !hasToken(cw.header.get("Connection"), "close")) &&
		transfer.go#L277: 	if t.Close && !hasToken(t.Header.get("Connection"), "close") {